Google\Web_Stories\Renderer\Stories\Renderer A

Total Complexity 72
Dependencies 7
Dependents 2
Total lines 728
Lines of code 325
Logical lines of code 143
Comment lines 303
Methods 25
Properties 12

Methods 25

Method Rating Maintainability Complexity Lines of code
get_view_classes()
A
54 10 19
get_content_overlay()
S
49 6 37
prepare_stories()
S
54 7 19
render_story_with_poster()
S
48 4 45
render_single_story_content()
S
51 5 28
__construct()
S
61 5 11
maybe_render_archive_link()
S
59 4 16
get_container_classes()
S
60 4 12
render_stories_lightbox()
S
60 3 16
generate_amp_lightbox_html_amp()
S
53 1 31
get_single_story_classes()
S
63 3 10
get_container_styles()
S
70 3 5
render()
S
63 3 10
render_stories_with_lightbox()
S
54 1 26
get_view_type()
S
78 2 3
is_view_type()
S
77 2 3
valid()
S
79 1 3
load_assets()
S
73 1 5
key()
S
82 1 3
next()
S
82 1 3
current()
S
80 1 3
generate_lightbox_html()
S
69 1 7
rewind()
S
81 1 3
render_stories_with_lightbox_amp()
S
82 1 3
init()
S
74 1 4